package javamem;

public class MemInfo {
    private double init;
    private double max;
    private double used;

    public MemInfo(double init, double max, double used) {
        this.init = init;
        this.max = max;
        this.used = used;
    }

    public double getInit() {
        return init;
    }

    public void setInit(double init) {
        this.init = init;
    }

    public double getMax() {
        return max;
    }

    public void setMax(double max) {
        this.max = max;
    }

    public double getUsed() {
        return used;
    }

    public void setUsed(double used) {
        this.used = used;
    }

    @Override
    public String toString() {
        return "MemInfo{" +
                "init=" + init +
                ", max=" + max +
                ", used=" + used +
                '}';
    }
}
